package com.briup.srms.project.service;

import com.briup.srms.project.bean.Group;
import com.briup.srms.project.bean.extend.GroupExtend;
import com.jacky.base.utils.CustomerException;

import java.util.List;

public interface IGroupService {
    // 组团
    void combine(Group group,Long[] studentIds) throws CustomerException;

    // 解散团队
    void dissolve(long groupId) throws  CustomerException;

    // 查看学生所在组信息
    GroupExtend queryStudentGroup(long studentId);

    // 调整分组
    void changeGroup(long studentId,long groupId) throws CustomerException;

    // 查看所有团队列表
    List<GroupExtend> query(Long channelId,Long leaderId);

    // 小组选题
    void selectProject(long groupId, long projectId) throws CustomerException;

    // 修改选题
    void changeProjectName(long groupId,String name) throws CustomerException;

    // 删除选题
    void delSelectedProject(long groupId);
}
